/###########################################################################################################################################################################################################################################################################################################################################################################################
/###########################################################################################################################################################################################################################################################################################################################################################################################
/###########################################################################################################################################################################################################################################################################################################################################################################################
/###########################################################################################################################################################################################################################################################################################################################################################################################
/##############          ##########        #########           #######   ######   ##############   ###############   ######   ########          #######   ######   ######   #########   ##############        ########           #########         ###########         #########        ########   ###############   #########   ######           ##########         #####            ######
/##############   #####   ########          ########   #####    ######   #####   ###############   ###############   ######   #######   #######  ######   #####   ########   #######   ##############          #######   #####    #######   #####   #########   ######  #######          #######   ################   #######   #######   #####    #######     ###########   ###############
/##############   ######   ######    ####    #######   ######   ######   ###   #################   ###############   ######   ######   ################   ###   ###########   #####   ##############    ####    ######   ######   ######   #######   #######   ###############    ####    ######   #################   #####   ########   ######   ######     ############   ###############
/##############   ######   ######    ####    #######   #####    ######   ##   ##################   ###############   ######   ######   ################   ##   #############   ###   ###############    ####    ######   #####    ######   #######   #######   ###############    ####    ######   ##################   ###   #########   #####    ######     ############   ###############
/##############   ######   ######    ####    #######           #######        ##################   ###############   ######   ######   ################        ###############     #################    ####    ######           #######   #######   #######   ###############    ####    ######   ####################     ###########           #########       ########        ##########
/##############   ######   ######            #######   ###   #########   ###   #################   ###############   ######   ######   ################   ###   ###############   ##################            ######   ###############   #######   #######   ###############            ######   #####################   ############   #####################     ######   ###############
/##############   ######   ######    ####    #######   ####   ########   ####   ################   ###############   ######   ######   ################   ####   ##############   ##################    ####    ######   ###############   #######   #######   ###############    ####    ######   #####################   ############   ######################    ######   ###############
/##############   #####   #######    ####    #######   #####   #######   #####   ###############   ################   ####   ########   #######  ######   #####   #############   ##################    ####    ######   ################   #####   #########   ######  ######    ####    ######   #####################   ############   ####################      ######   ###############
/##############          ########    ####    #######   ######   ######   ######   ##############            ########        ##########          #######   ######   ############   ##################    ####    ######   ##################       ############         #######    ####    ######            ############   ############   ###############          #######            ######
/###########################################################################################################################################################################################################################################################################################################################################################################################
/###########################################################################################################################################################################################################################################################################################################################################################################################
/###########################################################################################################################################################################################################################################################################################################################################################################################
/###########################################################################################################################################################################################################################################################################################################################################################################################



/========= Random Mobs ==========
group:1:(group(type=entity,ID=iron_golem;type=entity,ID=snow_golem,posY=#bPosY+#rand(0,2),posOffset=#circleOffset(0,1),amount=#rand(4,16));group(type=entity,ID=#randList(snow_golem,iron_golem);type=entity,ID=allay,posY=#bPosY+#rand(0,2),posOffset=#circleOffset(0,1),amount=#rand(2,8)))@luck=2
group:1:(group(type=entity,ID=cow;type=entity,ID=mooshroom,amount=#rand(4,16),posY=#bPosY+#rand(0,2),posOffset=#circleOffset(0,1));group(type=entity,ID=cow;type=entity,ID=mooshroom,amount=#rand(4,16),NBTTag=(Type=#randList(red,brown)),posY=#bPosY+#rand(0,2),posOffset=#circleOffset(0,1));group(type=entity,ID=mooshroom,NBTTag=(Type=#randList(red,brown));type=entity,ID=cow,amount=#rand(4,16),posY=#bPosY+#rand(0,2),posOffset=#circleOffset(0,1)))@luck=2

/ ========= BASIC MOBS ==========

/The Reaper
type=message=
type=entity, ID=wither_skeleton, NBTTag={
    "CustomName": "{\"text\":\"The Reaper\",\"color\":\"black\",\"bold\":true}",
    "ArmorItems": [
        {"id":"minecraft:diamond_chestplate","tag":{"Enchantments":[{"id":"minecraft:protection","lvl":4}]}},
        {"id":"minecraft:diamond_boots"}
    ],
    "HandItems": [
        {"id":"minecraft:diamond_axe","tag":{"Enchantments":[{"id":"minecraft:sharpness","lvl":5}]}}
    ],
    "ActiveEffects": [
        {"Id":1,"Duration":6000,"Amplifier":2}, // Speed II
        {"Id":5,"Duration":6000,"Amplifier":1}  // Strength I
    ],
    "ArmorDropChances": [0.2, 0.1],
    "HandDropChances": [0.5],
    "Silent": true
} @luck=-2


/ Spider Queen
type=entity, ID=spider, NBTTag={
    "CustomName": "{\"text\":\"Spider Queen\",\"color\":\"dark_green\",\"bold\":true}",
    "ActiveEffects": [
        {"Id":14,"Duration":1000000} // Invisibility
    ],
    "Passengers": [
        {
            "id": "minecraft:spider",
            "NBTTag": {
                "CustomName": "{\"text\":\"Baby Spider\",\"color\":\"green\"}",
                "Silent": true
            }
        }
    ]
} @luck=-1


/Nightmare Keeper 
group(
    type=entity, ID=elder_guardian, NBTTag={
        "CustomName": "{\"text\":\"Nightmare Keeper\",\"color\":\"dark_blue\",\"bold\":true}",
        "ActiveEffects": [
            {"Id":4,"Duration":100000,"Amplifier":1} // Mining Fatigue
        ]
    },
    type=particle, ID="minecraft:soul_fire_flame", amount=100, pos=(~4 ~ ~)
) @luck=-2


/Devouring Giant
type=entity, ID=giant, NBTTag={
    "CustomName": "{\"text\":\"Devouring Giant\",\"color\":\"dark_red\",\"bold\":true}",
    "ActiveEffects": [
        {"Id":11,"Duration":6000,"Amplifier":2} // Resistance II
    ],
    "Silent": true
} @luck=-2


/The Puppeteer 
group(
    type=entity, ID=vindicator, NBTTag={
        "CustomName": '{"text":"The Puppeteer","color":"purple","bold":true}',
        "HandItems": [
            {"id":"minecraft:diamond_axe","tag":{"Enchantments":[{"id":"minecraft:sharpness","lvl":5}]}}
        ],
        "ActiveEffects": [
            {"Id":14,"Duration":100000}, // Invisibility
            {"Id":5,"Duration":100000,"Amplifier":1} // Strength I
        ]
    },
    type=entity, ID=zombie, amount=#rand(5,10), NBTTag={
        "CustomName": '{"text":"Puppet Zombie","color":"dark_green"}'
    }
) @luck=-1


/The Scarecrow
type=entity, ID=zombie, NBTTag={
    "CustomName": "{\"text\":\"The Scarecrow\",\"color\":\"gold\",\"bold\":true}",
    "ArmorItems": [
        {"id":"minecraft:carved_pumpkin"},
        {"id":"minecraft:leather_chestplate","tag":{"display":{"color":8421376}}},
        {"id":"minecraft:leather_leggings","tag":{"display":{"color":8421376}}},
        {"id":"minecraft:leather_boots","tag":{"display":{"color":8421376}}}
    ],
    "ActiveEffects": [
        {"Id":15,"Duration":200,"Amplifier":1}, // Blindness
        {"Id":2,"Duration":200,"Amplifier":1}  // Slowness
    ]
} @luck=-2


/The Fallen Angel
type=entity, ID=phantom, NBTTag={
    "CustomName": "{\"text\":\"Fallen Angel\",\"color\":\"white\",\"bold\":true}",
    "ActiveEffects": [
        {"Id":14,"Duration":100000}, // Invisibility
        {"Id":16,"Duration":100000}  // Night Vision
    ]
} @luck=-2


/The Collector
group(
    type=entity, ID=evoker, NBTTag={
        "CustomName": "{\"text\":\"The Collector\",\"color\":\"dark_brown\",\"bold\":true}"
    },
    type=entity, ID=vex, amount=#rand(3,6), NBTTag={
        "CustomName": "{\"text\":\"Stolen Soul\",\"color\":\"red\"}"
    }
) @luck=-2


/Hell Chimera 
group(
    type=entity, ID=blaze, NBTTag={
        "CustomName": "{\"text\":\"Hell Chimera\",\"color\":\"orange\",\"bold\":true}"
    },
    type=entity, ID=ghast, NBTTag={
        "CustomName": "{\"text\":\"Hell Chimera\",\"color\":\"orange\",\"bold\":true}"
    }
) @luck=-2


/lightning strike chaos
type=entity,ID=lightning_bolt,amount=#rand(16,36),posOffset=#circleOffset(#rand(1,15))@luck=-2

/lightning villagers
group(type=entity,ID=villager,amount=#rand(4,9),posOffset=#circleOffset(#rand(1,6));type=entity,ID=lightning_bolt,amount=#rand(3,5),posOffset=#circleOffset(#rand(1,6)))@luck=-2

/lightning creepers
group(type=entity,ID=creeper,amount=#rand(3,6),posOffset=#circleOffset(#rand(1,8));type=entity,ID=lightning_bolt,amount=#rand(3,5),posOffset=#circleOffset(#rand(1,8)))@luck=-2

/flying boats
group(type=difficulty,ID=hard;type=entity,ID=bat,posY=#bPosY+8,amount=#rand(2,6),posOffset=#circleOffset(#rand(1,9)),NBTTag=(
    Silent=true,
    ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)],
    Passengers=[(id=boat)
    ])
)@luck=0

/flying animals
group(type=difficulty,ID=hard;type=entity,ID=bat,posY=#bPosY+8,amount=#rand(5,10),posOffset=#circleOffset(#rand(1,9)),NBTTag=(
    Silent=true,
    ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)],
    Passengers=[(id=#randList(cow,chicken,sheep,rabbit,squid))
    ])
)@luck=0

/blinding lights
group(type=effect,ID=slowness,duration=15,amplifier=2;
    type=effect,ID=blindness,duration=10)@luck=-1
	
/bats
type=entity,ID=bat,amount=#rand(10,20)@luck=-1

/spider jockeys
type=entity,ID=#randList(spider,spider_cave_spider),amount=#rand(3,6),posOffset=#circleOffset(#rand(1,9)),NBTTag=(Passengers=[(id=skeleton,
	HandItems=[(id=bow,Count=1,tag=(Enchantments=#luckySwordEnchantments))],
    ArmorItems=[(id=chainmail_boots,Count=1,tag=(Enchantments=#luckyBootsEnchantments)),(id=chainmail_leggings,Count=1,tag=(Enchantments=#luckyLeggingsEnchantments)),(id=chainmail_chestplate,Count=1,tag=(Enchantments=#luckyChestplateEnchantments)),(id=carved_pumpkin,Count=1,tag=(Enchantments=#luckyHelmetEnchantments))],
    HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f]
	)])@luck=-2

/ ========= Basic Boss ==========
/Void Spirit
/type=entity,ID=ender_dragon,NBTTag=(
  /  CustomName=#jsonStr(text="Void Spirit",color=dark_purple,bold=true),
 /   Silent=true,
 /   NoAI=0b
/)@luck=-2

/ Fly Reaper
group(type=difficulty,ID=hard;type=entity,ID=bat,NBTTag=(
    Silent=true,
    ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)],
    Passengers=[(id=skeleton_horse,Tame=true,Type=4,
        Passengers=[(id=wither_skeleton,
            HandItems=[(id=diamond_axe,tag=(Enchantments=[{id=sharpness,lvl=5}]))],
            ArmorItems=[(id=diamond_chestplate,tag=(Enchantments=[{id=protection,lvl=4}])),(id=diamond_helmet,tag=(Enchantments=[{id=protection,lvl=4}])),(id=diamond_boots,tag=(Enchantments=[{id=protection,lvl=4}])),(id=diamond_leggings,tag=(Enchantments=[{id=protection,lvl=4}]))],
            HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,0.3f],
            CustomName=#jsonStr(text="God Reaper",color=Dark_red,bold=true),CustomNameVisible=true)
        ])
    ])
)@luck=-2


/ ========= Advanced Mobs ==========
/Lord Of Chaos
type=entity,ID=wither_skeleton,NBTTag=(
    CustomName=#jsonStr(text="Lord of Chaos",color=dark_red,bold=true),
    ArmorItems=[
        (id=netherite_helmet,tag=(Enchantments=[{id=protection,lvl=20}])),
        (id=netherite_chestplate,tag=(Enchantments=[{id=protection,lvl=20}])),
        (id=netherite_leggings,tag=(Enchantments=[{id=protection,lvl=20}])),
        (id=netherite_boots,tag=(Enchantments=[{id=protection,lvl=20}])),
    ],
    HandItems=[
        (id=netherite_sword,tag=(
            Enchantments=[
                {id=sharpness,lvl=20},
                {id=fire_aspect,lvl=5},
                {id=unbreaking,lvl=20}
            ]
        ))
    ],
    ActiveEffects=[
        {Id:1,Duration:100000,Amplifier:4}, // Speed V
        {Id:5,Duration:100000,Amplifier:3}, // Strength IV
        {Id:11,Duration:100000,Amplifier:3} // Resistance IV
    ],
    ArmorDropChances=[0.1f,0.1f,0.1f,0.1f],
    HandDropChances=[0.2f],
    Silent=true
)@luck=-3@chance=0.50

/Fallen Archangel
type=entity,ID=phantom,NBTTag=(
    CustomName=#jsonStr(text="Fallen Archangel",color=white,bold=true),
    ArmorItems=[
        (id=elytra,tag=(Enchantments=[{id=unbreaking,lvl=20}])),
        (id=netherite_boots,tag=(Enchantments=[{id=feather_falling,lvl=10}])),
    ],
    HandItems=[
        (id=trident,tag=(
            Enchantments=[
                {id=sharpness,lvl=20},
                {id=loyalty,lvl=5},
                {id=fire_aspect,lvl=5}
            ]
        ))
    ],
    ActiveEffects=[
        {Id:1,Duration:100000,Amplifier:5}, // Speed VI
        {Id:16,Duration:100000,Amplifier:1}, // Night Vision
        {Id:8,Duration:100000,Amplifier:3}  // Jump Boost IV
    ],
    HandDropChances=[0.3f],
    Silent=true
)@luck=-3@chance=0.50

/The Necromancer & Army
group(
    type=entity,ID=evoker,NBTTag=(
        CustomName=#jsonStr(text="The Necromancer",color=purple,bold=true),
        HandItems=[
            (id=stick,tag=(
                Enchantments=[
                    {id=sharpness,lvl=20},
                    {id=fire_aspect,lvl=5}
                ]
            ))
        ],
        ActiveEffects=[
            {Id:14,Duration:100000}, // Invisibility
            {Id:9,Duration:100000},  // Levitation
            {Id:2,Duration:100000,Amplifier:1} // Slowness II
        ]
    ),
    type=entity,ID=skeleton,amount=#rand(10,20),NBTTag=(
        CustomName=#jsonStr(text="Undead Minion",color=dark_brown)
    ),
    type=entity,ID=zombie,amount=#rand(10,20),NBTTag=(
        CustomName=#jsonStr(text="Zombie Thrall",color=dark_green)
    )
)@luck=-3@chance=0.50

/flying witch
group(type=difficulty,ID=hard;type=entity,ID=bat,posY=#bPosY+8,amount=#rand(2,6),NBTTag=(
    Silent=true,
    ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)],
    Passengers=[(id=witch)
    ])
)@luck=-2

/flying guardians + elder guardian
group(type=difficulty,ID=hard;
type=entity,ID=bat,posY=#bPosY+8,amount=#rand(2,6),NBTTag=(
    Silent=true,
    ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)],
    Passengers=[(id=guardian)
    ]);
type=entity,ID=bat,posY=#bPosY+16,NBTTag=(
    Silent=true,
    ActiveEffects=[(Id=14,Duration=100000,Amplifier=1,ShowParticles=false)],
    Passengers=[(id=elder_guardian)
    ])
)@luck=-2

/all the spiders
type=entity,ID=spider,amount=#rand(30,56),posOffset=#circleOffset(#rand(4,32))@luck=-1

/all the cave spiders + cobwebs
group(type=entity,ID=cave_spider,amount=#rand(8,24),posOffset=#circleOffset(#rand(4,32));
type=entity,ID=falling_block,amount=#rand(16,64),posY=#bPosY+#rand(5,20),posOffset=#circleOffset(#rand(1,24)),NBTTag=(BlockState=(Name=cobweb),Fuse=50b,Motion=#randLaunchMotion)
)@luck=-2

/witch with bats
group(type=difficulty,ID=hard;type=entity,ID=witch;type=entity,ID=bat,posY=#bPosY+#rand(0,2),posOffset=#circleOffset(0,1),amount=64)@luck=-1


/ ========= Advanced Boss ==========
/World Devourer
type=entity,ID=giant,NBTTag=(
    CustomName=#jsonStr(text="World Devourer",color=black,bold=true),
    ArmorItems=[
        (id=netherite_helmet,tag=(Enchantments=[{id=protection,lvl=20}])),
        (id=netherite_chestplate,tag=(Enchantments=[{id=protection,lvl=20}])),
        (id=netherite_leggings,tag=(Enchantments=[{id=protection,lvl=20}])),
        (id=netherite_boots,tag=(Enchantments=[{id=protection,lvl=20}])),
    ],
    HandItems=[
        (id=netherite_axe,tag=(
            Enchantments=[
                {id=sharpness,lvl=20},
                {id=fire_aspect,lvl=5},
                {id=unbreaking,lvl=20}
            ]
        ))
    ],
    ActiveEffects=[
        {Id:11,Duration:100000,Amplifier:5}, // Resistance VI
        {Id:5,Duration:100000,Amplifier:5},  // Strength VI
        {Id:12,Duration:100000,Amplifier:2}  // Fire Resistance
    ],
    HandDropChances=[0.1f],
    Silent=true
)@luck=-3@chance=0.40

type=entity,ID=ender_dragon,NBTTag=(
    CustomName=#jsonStr(text="Apocalypse Dragon",color=red,bold=true),
    ActiveEffects=[
        {Id:1,Duration:100000,Amplifier:4}, // Speed V
        {Id:5,Duration:100000,Amplifier:3}, // Strength IV
        {Id:12,Duration:100000}            // Fire Resistance
    ],
    NoAI=0b,
    Silent=true
)@luck=-3@chance=0.40


/ ========= Infinite Mobs ==========
/Shadow Revenant 
type=entity,ID=zombie,NBTTag=(
    CustomName=#jsonStr(text="Shadow Revenant",color=dark_brown,bold=true),
    ArmorItems=[
        (id=netherite_helmet,tag=(Enchantments=[{id=protection,lvl=50}])),
        (id=netherite_chestplate,tag=(Enchantments=[{id=protection,lvl=50}])),
        (id=netherite_leggings,tag=(Enchantments=[{id=protection,lvl=50}])),
        (id=netherite_boots,tag=(Enchantments=[{id=protection,lvl=50}])),
    ],
    ActiveEffects=[
        {Id:14,Duration:1000000}, // Invisibility
        {Id:19,Duration:1000000}, // Poison
        {Id:1,Duration:1000000,Amplifier:2} // Speed III
    ],
    Silent=true
)@luck=-4@chance=0.30

/Abyssal Hound
type=entity,ID=wolf,NBTTag=(
    CustomName=#jsonStr(text="Abyssal Hound",color=dark_red,bold=true),
    ActiveEffects=[
        {Id:12,Duration:1000000}, // Fire Resistance
        {Id:5,Duration:1000000,Amplifier:5}, // Strength VI
        {Id:11,Duration:1000000,Amplifier:9} // Resistance X
    ],
    ArmorItems=[
        (id=netherite_boots,tag=(Enchantments=[{id=protection,lvl=30)),
    ],
    Silent=true
)@luck=-4@chance=0.30

/FLoating Spectre
type=entity,ID=phantom,NBTTag=(
    CustomName=#jsonStr(text="Floating Specter",color=dark_blue,bold=true),
    ActiveEffects=[
        {Id:1,Duration:1000000,Amplifier:5, // Speed VI
        {Id:11,Duration:1000000,Amplifier:9, // Resistance X
        {Id:5,Duration:1000000,Amplifier:9 // Strength X
    ],
    Silent=true
)@luck=-4@chance=0.30

/Nightmare Guard
type=entity,ID=iron_golem,NBTTag=(
    CustomName=#jsonStr(text="Nightmare Guard",color=dark_purple,bold=true),
    ArmorItems=[
        (id=netherite_chestplate,tag=(Enchantments=[{id=protection,lvl=30}])),
        (id=netherite_leggings,tag=(Enchantments=[{id=protection,lvl=30}])),
    ],
    ActiveEffects=[
        {Id:10,Duration:1000000,Amplifier:5}, // Regeneration VI
        {Id:11,Duration:1000000,Amplifier:9 // Resistance X
		{Id:5,Duration:1000000,Amplifier:9, // Strength X
    ],
    Silent=true
)@luck=-4@chance=0.30

/Blood Puppete
type=entity,ID=vindicator,NBTTag=(
    CustomName=#jsonStr(text="Blood Puppet",color=red,bold=true),
    HandItems=[
        (id=netherite_axe,tag=(
            Enchantments=[
                {id=sharpness,lvl=25},
                {id=fire_aspect,lvl=10},
                {id=looting,lvl=5}
            ]
        ))
    ],
    ActiveEffects=[
        {Id:5,Duration:1000000,Amplifier:9, // Strength X
        {Id:1,Duration:1000000,Amplifier:5}, // Speed VI
        {Id:10,Duration:1000000,Amplifier:4 // Regeneration V
    ],
    Silent=true
)@luck=-4@chance=0.30




/#######IN WORK#########
/ ========= Inifinite Boss Relic ==========

/Relic Of Chaos (Abyss Titan)
/group(
/    type=entity,ID=skeleton_skull,amount=1,
 /   NBTTag=(display={Name:"{\"text\":\"Relic of Chaos\",\"color\":\"dark_red\",\"bold\":true}",Enchantments=[{id:unbreaking,lvl:1}],CustomModelData:1}),
/
/)@luck=-5@chance=0.25


/Sceptre Of Souls (Soul Overlord)
/group(
/    type=entity,ID=blaze_rod,amount=1,
/    NBTTag=(display={Name:"{\"text\":\"Sceptre of Souls\",\"color\":\"dark_purple\",\"bold\":true}",Enchantments=[{id:unbreaking,lvl:1}],CustomModelData:2}),
/
/)@luck=-5@chance=0.25


/Eye Of The Void (Reverse End Dragon)
/group(
/    type=entity,ID=ender_pearl,amount=1,
/    NBTTag=(display={Name:"{\"text\":\"Eye of the Void\",\"color\":\"dark_blue\",\"bold\":true}",Enchantments=[{id:unbreaking,lvl:1}],CustomModelData:3}),
/
/)@luck=-5@chance=0.25
/#######IN WORK#########

/ ========= SHOP ==========
/ Horror COIN
group(type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Horror Coin\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:sunflower\",Count:1b,tag:{display:{Name:'{\"text\":\"Horror Coin\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:unbreaking\",lvl:#rand(1,3)}],AttributeModifiers:[{AttributeName:\"generic.luck\",Name:\"generic.luck\",Amount:+1.0,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"mainhand\"}]}}}",commandSender="VIU")


/ ShopKeepers

/ Shopkeepers Sellers

group(type=entity,ID=villager,NBTTag=(VillagerData=(level=5,profession=toolsmith,type=#randlist(desert,jungle,plains,savanna,snow,swamp,taiga)),Offers=(Recipes=[(buy=(id=sunflower,Count=#rand(32,64),tag={display:{Name:'{"text":"Horror Coin","color":"dark_red","bold":true,"italic":false}'},Enchantments:[{id:"minecraft:unbreaking",lvl:#rand(1,3)}],AttributeModifiers:[{AttributeName:"generic.luck",Name:"generic.luck",Amount:+1.0,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:"mainhand"}]}),sell=(id=diamond_sword,Count=1,tag={Enchantments:[{id:sharpness,lvl:50},{id:fire_aspect,lvl:10}]}),maxUses=5)
Offers:
  (buy=(id=sunflower,Count=#rand(32,64),tag={display:{Name:'{"text":"Horror Coin","color":"dark_red","bold":true,"italic":false}'},Enchantments:[{id:"minecraft:unbreaking",lvl:#rand(1,3)}],AttributeModifiers:[{AttributeName:"generic.luck",Name:"generic.luck",Amount:+1.0,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:"mainhand"}]}),sell=(id=diamond_sword,Count=1,tag={Enchantments:[{id:sharpness,lvl:50},{id:fire_aspect,lvl:10}]}),maxUses=5)
  (buy=(id=sunflower,Count=#rand(32,64),tag={display:{Name:'{"text":"Horror Coin","color":"dark_red","bold":true,"italic":false}'},Enchantments:[{id:"minecraft:unbreaking",lvl:#rand(1,3)}],AttributeModifiers:[{AttributeName:"generic.luck",Name:"generic.luck",Amount:+1.0,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:"mainhand"}]}),sell=(id=diamond_chestplate,Count=1,tag={Enchantments:[{id:protection,lvl:60},{id:thorns,lvl:15}]}),maxUses=3)
  (buy=(id=sunflower,Count=#rand(16,32),tag={display:{Name:'{"text":"Horror Coin","color":"dark_red","bold":true,"italic":false}'},Enchantments:[{id:"minecraft:unbreaking",lvl:#rand(1,3)}],AttributeModifiers:[{AttributeName:"generic.luck",Name:"generic.luck",Amount:+1.0,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:"mainhand"}]}),sell=(id=diamond_pickaxe,Count=1,tag={Enchantments:[{id:efficiency,lvl:50},{id:unbreaking,lvl:20}]}),maxUses=5)
  (buy=(id=sunflower,Count=64,tag={display:{Name:'{"text":"Horror Coin","color":"dark_red","bold":true,"italic":false}'},Enchantments:[{id:"minecraft:unbreaking",lvl:#rand(1,3)}],AttributeModifiers:[{AttributeName:"generic.luck",Name:"generic.luck",Amount:+1.0,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:"mainhand"}]}),sell=(id=totem_of_undying,Count=1),maxUses=1)

/ Shopkeepers Buyers
group(type=entity,ID=villager,NBTTag=(VillagerData=(level=3,profession=toolsmith,type=#randList(desert,jungle,plains,savanna,snow,swamp,taiga)),Offers=(Recipes=[(buy=(id=sponge,Count=1),sell=(id=gold_ingot,Count=3),maxUses=15),(buy=(id=nether_star,Count=1),sell=(id=gold_ingot,Count=48),maxUses=1),(buy=(id=dragon_egg,Count=1),sell=(id=gold_ingot,Count=48),maxUses=1),(buy=(id=beacon,Count=1),sell=(id=gold_ingot,Count=64),maxUses=1)]),CustomName=#jsonStr(text="Shop Keeper Buyer",color=blue,bold=true),CustomNameVisible=true);type=entity,ID=villager,NBTTag=(VillagerData=(level=3,profession=toolsmith,type=#randList(desert,jungle,plains,savanna,snow,swamp,taiga)),Offers=(Recipes=[(buy=(id=#randList(zombie_head,piglin_head),Count=1),sell=(id=gold_ingot,Count=24),maxUses=10),(buy=(id=skeleton_skull,Count=1),sell=(id=gold_ingot,Count=24),maxUses=10),(buy=(id=creeper_head,Count=1),sell=(id=gold_ingot,Count=24),maxUses=10),(buy=(id=wither_skeleton_skull,Count=1),sell=(id=gold_ingot,Count=32),maxUses=10)]),CustomName=#jsonStr(text="Shop Keeper Buyer",color=blue,bold=true),CustomNameVisible=true);type=entity,ID=villager,NBTTag=(VillagerData=(level=3,profession=toolsmith,type=#randList(desert,jungle,plains,savanna,snow,swamp,taiga)),Offers=(Recipes=[(buy=(id=rotten_flesh,Count=#rand(16,48)),sell=(id=gold_ingot,Count=2),maxUses=10),(buy=(id=bone,Count=#rand(16,48)),sell=(id=gold_ingot,Count=2),maxUses=10),(buy=(id=spider_eye,Count=#rand(16,48)),sell=(id=gold_ingot,Count=2),maxUses=10),(buy=(id=gunpowder,Count=#rand(8,24)),sell=(id=gold_ingot,Count=10),maxUses=10)]),CustomName=#jsonStr(text="Shop Keeper Buyer",color=blue,bold=true),CustomNameVisible=true))@luck=0
group(type=entity,ID=villager,NBTTag=(VillagerData=(level=3,profession=toolsmith,type=#randList(desert,jungle,plains,savanna,snow,swamp,taiga)),Offers=(Recipes=[(buy=(id=sweet_berries,Count=#rand(32,48)),sell=(id=gold_ingot,Count=1),maxUses=10),(buy=(id=bread,Count=#rand(4,16)),sell=(id=gold_ingot,Count=3),maxUses=10),(buy=(id=#randList(pumpkin,melon),Count=12),sell=(id=gold_ingot,Count=4),maxUses=10),(buy=(id=cake,Count=1),sell=(id=gold_ingot,Count=16),maxUses=1)]),CustomName=#jsonStr(text="Shop Keeper Buyer",color=blue,bold=true),CustomNameVisible=true);type=entity,ID=villager,NBTTag=(VillagerData=(level=3,profession=toolsmith,type=#randList(desert,jungle,plains,savanna,snow,swamp,taiga)),Offers=(Recipes=[(buy=(id=dandelion,Count=#rand(48,64)),sell=(id=gold_ingot,Count=1),maxUses=10),(buy=(id=poppy,Count=#rand(32,48)),sell=(id=gold_ingot,Count=2),maxUses=10),(buy=(id=blue_orchid,Count=#rand(16,32)),sell=(id=gold_ingot,Count=4),maxUses=10),(buy=(id=wither_rose,Count=1),sell=(id=gold_ingot,Count=16),maxUses=1)]),CustomName=#jsonStr(text="Shop Keeper Buyer",color=blue,bold=true),CustomNameVisible=true);type=entity,ID=villager,NBTTag=(VillagerData=(level=3,profession=toolsmith,type=#randList(desert,jungle,plains,savanna,snow,swamp,taiga)),Offers=(Recipes=[(buy=(id=dried_kelp,Count=#rand(16,48)),sell=(id=gold_ingot,Count=1),maxUses=10),(buy=(id=cod,Count=#rand(8,32)),sell=(id=gold_ingot,Count=4),maxUses=10),(buy=(id=salmon,Count=#rand(8,32)),sell=(id=gold_ingot,Count=6),maxUses=10),(buy=(id=#randList(tropical_fish,pufferfish),Count=#rand(8,16)),sell=(id=gold_ingot,Count=12),maxUses=10)]),CustomName=#jsonStr(text="Shop Keeper Buyer",color=blue,bold=true),CustomNameVisible=true))@luck=0
group(type=entity,ID=villager,NBTTag=(VillagerData=(level=3,profession=toolsmith,type=#randList(desert,jungle,plains,savanna,snow,swamp,taiga)),Offers=(Recipes=[(buy=(id=#randList(sentry_armor_trim_smithing_template,vex_armor_trim_smithing_template,wild_armor_trim_smithing_template,coast_armor_trim_smithing_template,dune_armor_trim_smithing_template,wayfinder_armor_trim_smithing_template),Count=1),sell=(id=gold_ingot,Count=32),maxUses=1),(buy=(id=#randList(raiser_armor_trim_smithing_template,shaper_armor_trim_smithing_template,host_armor_trim_smithing_template,ward_armor_trim_smithing_template,silence_armor_trim_smithing_template,tide_armor_trim_smithing_template),Count=1),sell=(id=gold_ingot,Count=32),maxUses=1),(buy=(id=#randList(snout_armor_trim_smithing_template,rib_armor_trim_smithing_template,eye_armor_trim_smithing_template,spire_armor_trim_smithing_template),Count=1),sell=(id=gold_ingot,Count=42),maxUses=1),(buy=(id=netherite_upgrade_smithing_template,Count=1),sell=(id=gold_ingot,Count=#rand(48,64)),maxUses=1)]),CustomName=#jsonStr(text="Shop Keeper Buyer",color=blue,bold=true),CustomNameVisible=true);type=entity,ID=villager,NBTTag=(VillagerData=(level=3,profession=toolsmith,type=#randList(desert,jungle,plains,savanna,snow,swamp,taiga)),Offers=(Recipes=[(buy=(id=#randList(angler_pottery_sherd,archer_pottery_sherd,arms_up_pottery_sherd,blade_pottery_sherd,brewer_pottery_sherd),Count=1),sell=(id=gold_ingot,Count=8),maxUses=10),(buy=(id=#randList(burn_pottery_sherd,danger_pottery_sherd,explorer_pottery_sherd,friend_pottery_sherd,heart_pottery_sherd),Count=1),sell=(id=gold_ingot,Count=8),maxUses=10),(buy=(id=#randList(heartbreak_pottery_sherd,howl_pottery_sherd,miner_pottery_sherd,mourner_pottery_sherd,plenty_pottery_sherd),Count=1),sell=(id=gold_ingot,Count=8),maxUses=10),(buy=(id=#randList(prize_pottery_sherd,sheaf_pottery_sherd,shelter_pottery_sherd,skull_pottery_sherd,snort_pottery_sherd),Count=1),sell=(id=gold_ingot,Count=8),maxUses=10)]),CustomName=#jsonStr(text="Shop Keeper Buyer",color=blue,bold=true),CustomNameVisible=true))@luck=0
group(type=entity,ID=villager,NBTTag=(VillagerData=(level=3,profession=toolsmith,type=#randList(desert,jungle,plains,savanna,snow,swamp,taiga)),Offers=(Recipes=[(buy=(id=cobblestone,Count=#rand(48,64)),sell=(id=gold_ingot,Count=1),maxUses=10),(buy=(id=redstone,Count=#rand(48,64)),sell=(id=gold_ingot,Count=3),maxUses=10),(buy=(id=coal,Count=#rand(32,64)),sell=(id=gold_ingot,Count=3),maxUses=10),(buy=(id=emerald,Count=#rand(1,2)),sell=(id=gold_ingot,Count=12),maxUses=10)]),CustomName=#jsonStr(text="Shop Keeper Buyer",color=blue,bold=true),CustomNameVisible=true);type=entity,ID=villager,NBTTag=(VillagerData=(level=3,profession=toolsmith,type=#randList(desert,jungle,plains,savanna,snow,swamp,taiga)),Offers=(Recipes=[(buy=(id=copper_ingot,Count=#rand(1,4)),sell=(id=gold_ingot,Count=1),maxUses=10),(buy=(id=iron_ingot,Count=#rand(1,3)),sell=(id=gold_ingot,Count=3),maxUses=10),(buy=(id=lapis_lazuli,Count=#rand(10,16)),sell=(id=gold_ingot,Count=3),maxUses=10),(buy=(id=diamond,Count=#rand(1,2)),sell=(id=gold_ingot,Count=16),maxUses=10)]),CustomName=#jsonStr(text="Shop Keeper Buyer",color=blue,bold=true),CustomNameVisible=true);type=entity,ID=villager,NBTTag=(VillagerData=(level=3,profession=toolsmith,type=#randList(desert,jungle,plains,savanna,snow,swamp,taiga)),Offers=(Recipes=[(buy=(id=moss_block,Count=#rand(24,48)),sell=(id=gold_ingot,Count=1),maxUses=10),(buy=(id=dripstone_block,Count=#rand(16,32)),sell=(id=gold_ingot,Count=4),maxUses=10),(buy=(id=amethyst_shard,Count=#rand(12,24)),sell=(id=gold_ingot,Count=8),maxUses=10),(buy=(id=obsidian,Count=#rand(12,16)),sell=(id=gold_ingot,Count=16),maxUses=10)]),CustomName=#jsonStr(text="Shop Keeper Buyer",color=blue,bold=true),CustomNameVisible=true);type=entity,ID=villager,NBTTag=(VillagerData=(level=3,profession=toolsmith,type=#randList(desert,jungle,plains,savanna,snow,swamp,taiga)),Offers=(Recipes=[(buy=(id=cobbled_deepslate,Count=#rand(48,64)),sell=(id=gold_ingot,Count=1),maxUses=10),(buy=(id=sculk,Count=#rand(32,48)),sell=(id=gold_ingot,Count=3),maxUses=10),(buy=(id=sculk_shrieker,Count=#rand(2,4)),sell=(id=gold_ingot,Count=8),maxUses=10),(buy=(id=echo_shard,Count=#rand(4,8)),sell=(id=gold_ingot,Count=10),maxUses=10)]),CustomName=#jsonStr(text="Shop Keeper Buyer",color=blue,bold=true),CustomNameVisible=true))@luck=0




/ ========= Negative Props =========

/TNT little Drops 
type=entity,ID=tnt,NBTTag=(Fuse=125b,Motion=#randLaunchMotion),amount=15@luck=-1
/TNT Medium Drops
type=entity,ID=tnt,NBTTag=(Fuse=250b,Motion=#randLaunchMotion),amount)=30@luck=-2@chance=0.5
/TNT Biggest Drops
type=entity,ID=tnt,NBTTag=(Fuse=500b,Motion=#randLaunchMotion),amount=60@luck=-3@chance=0.25


/Little BOOM 
type=message,ID="You running? I'm exploding.";type=explosion,radius=1@luck=3
type=message,ID="That wasn't supposed to happen...";type=explosion,radius=2@luck=2.9
type=message,ID="Too late to turn back now.";type=explosion,radius=3@luck=2.8
type=message,ID="Boom... ce n'était que le début.";type=explosion,radius=4@luck=2.7
type=message,ID="Ça commence à chauffer !";type=explosion,radius=5@luck=2.6
type=message,ID="RIP... ou pas encore.";type=explosion,radius=6@luck=2.5
type=message,ID="Tu pensais vraiment être en sécurité ?";type=explosion,radius=7@luck=2.4
type=message,ID="Oups, mauvaise idée.";type=explosion,radius=8@luck=2.3
type=message,ID="C'est moi ou le sol tremble ?";type=explosion,radius=9@luck=2.2
type=message,ID="Tu vas t’en souvenir.";type=explosion,radius=10@luck=2.1

/Medium BOOM 
type=message,ID="Un conseil ? Cours.";type=explosion,radius=11@luck=2
type=message,ID="On continue ?!";type=explosion,radius=12@luck=1.9
type=message,ID="Trop tard pour crier.";type=explosion,radius=13@luck=1.8
type=message,ID="Explosion imminente.";type=explosion,radius=14@luck=1.7
type=message,ID="C'était ton dernier espoir.";type=explosion,radius=15@luck=1.6
type=message,ID="Ne dis pas que je ne t'avais pas prévenu.";type=explosion,radius=16@luck=1.5
type=message,ID="Game over ? Pas encore.";type=explosion,radius=17@luck=1.4
type=message,ID="Ce n'est pas moi, c'est le bloc.";type=explosion,radius=18@luck=1.3
type=message,ID="Le sol est en train de disparaître ! et toi avec...";type=explosion,radius=19@luck=1.2
type=message,ID="Et si on s'arrêtait là ?";type=explosion,radius=20@luck=1.1

/Biggest BOOM 
type=message,ID="Trop de TNT, ça existe ?";type=explosion,radius=21@luck=1
type=message,ID="BOOM… oups.";type=explosion,radius=22@luck=0.9
type=message,ID="Ça fait mal, non ?";type=explosion,radius=23@luck=0.8
type=message,ID="J'espère que tu as une armure.";type=explosion,radius=24@luck=0.7
type=message,ID="Toujours à appuyer sur les boutons, hein ?";type=explosion,radius=25@luck=0.6
type=message,ID="Laisse-moi deviner… tu as paniqué ?";type=explosion,radius=26@luck=0.5
type=message,ID="Il reste encore une carte ?";type=explosion,radius=27@luck=0.4
type=message,ID="À ce stade, c'est de l'art.";type=explosion,radius=28@luck=0.3
type=message,ID="J'espère que tu as fait une sauvegarde.";type=explosion,radius=29@luck=0.2
type=message,ID="Dernière explosion... ou pas.";type=explosion,radius=30@luck=0.1



/Insame BOOM 
type=explosion,radius=50;type=message,ID="Bouton rouge ou bouton bleu ? Oups :/", @luck=0.075
type=explosion, radius=75;type=message,ID="J'ai besoin d'une pause... Oh Oh", @luck=0.05
type=explosion, radius=100;type=message,ID="J'ai glissé chef !", @luck=0.025


/Boom Chain
group(type=message,ID="Run For Your Life ;)";type=explosion,radius=1;
type=explosion,radius=2,delay=0.75;
type=explosion,radius=4,delay=1.50;
type=explosion,radius=6,delay=2.25;
type=explosion,radius=8,delay=3.00;
type=explosion,radius=10,delay=3.75;
type=explosion,radius=12,delay=4.50;
type=explosion,radius=14,delay=5.25;
type=explosion,radius=16,delay=6.00;
type=explosion,radius=18,delay=6.75;
type=explosion,radius=25,delay=15
)@luck=-4

/Boom Wait ?
type=message,ID="Just Wait ;)",delay=0;
type=message,ID="10",delay=1;
type=message,ID="9",delay=2;
type=message,ID="8",delay=3;
type=message,ID="7",delay=4;
type=message,ID="6",delay=5;
type=message,ID="5",delay=6;
type=message,ID="4",delay=7;
type=message,ID="3",delay=8;
type=message,ID="2",delay=9;
type=message,ID="1",delay=10;
type=message,ID="Sorry ^o^",delay=11;
type=explosion,radius=50,delay=12;



/cobweb trap
group(
    type=fill,ID=cobweb,size=(5,3,5),pos=(#pPosX-1,#pPosY-3,#pPosZ-1)
)@luck=-2

/ lava pit
group(
    type=fill,ID=air,size=(3,20,3),pos=(#pPosX-1,#pPosY-20,#pPosZ-1);
    type=fill,ID=lava,size=(3,1,3),pos=(#pPosX-1,#pPosY-20,#pPosZ-1);
    type=fill,ID=cobweb,size=(3,1,3),pos=(#pPosX-1,#pPosY-19,#pPosZ-1)
)@luck=-2


/========= Random Props ========= 
/lucky block chain reaction
group(type=fill,ID=air,size=(1,51,1);
    group(
        NBTTag=(BlockState=(Name=redstone_block)),posY=#bPosY+5;
        NBTTag=(BlockState=(Name=lucky:horror_lucky_block)),posY=#bPosY+10;
        NBTTag=(BlockState=(Name=redstone_block)),posY=#bPosY+15;
        NBTTag=(BlockState=(Name=lucky:horror_lucky_block)),posY=#bPosY+20;
        NBTTag=(BlockState=(Name=redstone_block)),posY=#bPosY+25;
        NBTTag=(BlockState=(Name=lucky:horror_lucky_block)),posY=#bPosY+30;
        NBTTag=(BlockState=(Name=redstone_block)),posY=#bPosY+35;
        NBTTag=(BlockState=(Name=lucky:horror_lucky_block)),posY=#bPosY+40;
        NBTTag=(BlockState=(Name=redstone_block)),posY=#bPosY+45
    ),type=entity,ID=falling_block;
    type=entity,ID=falling_block,NBTTag=(BlockState=(Name=lucky:horror_lucky_block)),posY=#bPosY+50
)@luck=1



/========= STRUCTURE =========

/Falling Blocks
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=falling_block,posY=#bPosY+7,NBTTag=(BlockState=(Name=iron_block));type=particle,ID=large_smoke,size=(1,2,1),particleAmount=500;type=sound,ID=block.fire.extinguish)@luck=0

group(type=fill,ID=air,size=(1,8,1);type=entity,ID=falling_block,posY=#bPosY+7,NBTTag=(BlockState=(Name=gold_block));type=particle,ID=flame,size=(1,2,1),particleAmount=500;type=sound,ID=entity.ghast.shoot)@luck=0

group(type=fill,ID=air,size=(1,8,1);type=entity,ID=falling_block,posY=#bPosY+7,NBTTag=(BlockState=(Name=diamond_block));type=entity,ID=lightning_bolt)@luck=1

group(type=fill,ID=air,size=(1,8,1);type=entity,ID=falling_block,posY=#bPosY+7,NBTTag=(BlockState=(Name=emerald_block));type=particle,ID=happy_villager,size=(1,2,1),particleAmount=500;type=sound,ID=block.grass.break)@luck=0

group(type=fill,ID=air,size=(1,8,1);type=entity,ID=falling_block,posY=#bPosY+7,NBTTag=(BlockState=(Name=redstone_block));type=particle,ID=redstone,size=(1,2,1),particleAmount=1000;type=sound,ID=block.lever.click)@luck=0



// Chests
group:1:(type=block,ID=chest,tileEntity=(Items=#chestLootTable("entities/evoker"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/ancient_city"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/buried_treasure"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/bastion_treasure"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/pillager_outpost"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/woodland_mansion"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/end_city_treasure")))@luck=2

group:1:(type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/igloo_chest"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/bastion_other"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/jungle_temple"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/nether_bridge"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/shipwreck_map"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/bastion_bridge"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/desert_pyramid"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/simple_dungeon"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/shipwreck_supply"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/shipwreck_treasure"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("gameplay/piglin_bartering"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/abandoned_mineshaft"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/stronghold_corridor"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/underwater_ruin_big"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/bastion_hoglin_stable"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/underwater_ruin_small"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/village/village_armorer"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/village/village_butcher"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/village/village_weaponsmith"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("gameplay/hero_of_the_village/cleric_gift"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("gameplay/hero_of_the_village/farmer_gift"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("gameplay/hero_of_the_village/armorer_gift"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("gameplay/hero_of_the_village/fletcher_gift"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("gameplay/hero_of_the_village/weaponsmith_gift")))@luck=1

group:1:(type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/spawn_bonus_chest"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/stronghold_library"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("gameplay/cat_morning_gift"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("gameplay/fishing/treasure"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/stronghold_crossing"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/village/village_mason"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/jungle_temple_dispenser"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/village/village_tannery"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/village/village_shepherd"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/village/village_toolsmith"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/village/village_snowy_house"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/village/village_taiga_house"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/village/village_cartographer"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/village/village_desert_house"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/village/village_plains_house"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/village/village_savanna_house")))@luck=0

group:1:(type=block,ID=chest,tileEntity=(Items=#chestLootTable("entities/witch"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("entities/zombie"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("gameplay/fishing/fish"));type=block,ID=chest,tileEntity=(Items=#chestLootTable("gameplay/fishing/junk")))@luck=-1

/========= GOOD POTION =========
/Nice Splash
group(
    type=entity,ID=potion,NBTTag=(
        Item=(id=splash_potion,tag=(Potion=#randList(
            speed,glowing,night_vision,slow_falling,strength,absorption,resistance,healing
        )),Count=1),
        Motion=#motionFromDirection(#rand(0,360),-70,0.4)
    ),amount=4
)@luck=2

/========= BAD POTION =========
/Dirty Splash 
group(
    type=entity,ID=potion,NBTTag=(
        Item=(id=splash_potion,tag=(Potion=#randList(
            weakness,poison,blindness,nausea,slowness,hunger,harming
        )),Count=1),
        Motion=#motionFromDirection(#rand(0,360),-70,0.4)
    ),amount=4
)@luck=-2

/========= STUFF =========
/EAGLE EXO ARMOR
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Eagle Exo-Helmet\",\"color\":\"brown\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:diamond_helmet\",Count:1b,tag:{display:{Name:'{\"text\":\"Eagle Exo-Helmet\",\"color\":\"brown\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:blast_protection\",lvl:#rand(2,7)},{id:\"minecraft:protection\",lvl:#rand(2,7)},{id:\"minecraft:unbreaking\",lvl:#rand(2,7)},{id:\"minecraft:thorns\",lvl:#rand(1,4)},{id:\"minecraft:respiration\",lvl:#rand(2,5)}],AttributeModifiers:[{AttributeName:\"generic.knockback_resistance\",Name:\"generic.knockback_resistance\",Amount:0.05,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"head\"},{AttributeName:\"generic.armor\",Name:\"generic.armor\",Amount:3.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"head\"},{AttributeName:\"generic.armor_toughness\",Name:\"generic.armor_toughness\",Amount:1.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"head\"},{AttributeName:\"generic.movement_speed\",Name:\"generic.movement_speed\",Amount:+0.5,Operation:1,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"head\"}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Eagle Exo-Chestplate\",\"color\":\"brown\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:diamond_chestplate\",Count:1b,tag:{display:{Name:'{\"text\":\"Eagle Exo-Chestplate\",\"color\":\"brown\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:blast_protection\",lvl:#rand(2,7)},{id:\"minecraft:protection\",lvl:#rand(2,7)},{id:\"minecraft:unbreaking\",lvl:#rand(2,7)},{id:\"minecraft:thorns\",lvl:#rand(1,4)}],AttributeModifiers:[{AttributeName:\"generic.knockback_resistance\",Name:\"generic.knockback_resistance\",Amount:0.05,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"chest\"},{AttributeName:\"generic.armor\",Name:\"generic.armor\",Amount:8.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"chest\"},{AttributeName:\"generic.armor_toughness\",Name:\"generic.armor_toughness\",Amount:1.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"chest\"},{AttributeName:\"generic.movement_speed\",Name:\"generic.movement_speed\",Amount:+0.5,Operation:1,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"chest\"}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Eagle Exo-Leggings\",\"color\":\"brown\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:diamond_leggings\",Count:1b,tag:{display:{Name:'{\"text\":\"Eagle Exo-Leggings\",\"color\":\"brown\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:blast_protection\",lvl:#rand(2,7)},{id:\"minecraft:protection\",lvl:#rand(2,7)},{id:\"minecraft:unbreaking\",lvl:#rand(2,7)},{id:\"minecraft:thorns\",lvl:#rand(1,4)}],AttributeModifiers:[{AttributeName:\"generic.knockback_resistance\",Name:\"generic.knockback_resistance\",Amount:0.05,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"legs\"},{AttributeName:\"generic.armor\",Name:\"generic.armor\",Amount:6.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"legs\"},{AttributeName:\"generic.armor_toughness\",Name:\"generic.armor_toughness\",Amount:1.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"legs\"},{AttributeName:\"generic.movement_speed\",Name:\"generic.movement_speed\",Amount:+0.5,Operation:1,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"legs\"}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Eagle Exo-Boots\",\"color\":\"brown\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:diamond_boots\",Count:1b,tag:{display:{Name:'{\"text\":\"Eagle Exo-Boots\",\"color\":\"brown\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:blast_protection\",lvl:#rand(2,7)},{id:\"minecraft:protection\",lvl:#rand(2,7)},{id:\"minecraft:unbreaking\",lvl:#rand(2,7)},{id:\"minecraft:thorns\",lvl:#rand(1,4)},{id:\"minecraft:depth_strider\",lvl:#rand(2,5)}],AttributeModifiers:[{AttributeName:\"generic.knockback_resistance\",Name:\"generic.knockback_resistance\",Amount:0.05,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"feet\"},{AttributeName:\"generic.armor\",Name:\"generic.armor\",Amount:3.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"feet\"},{AttributeName:\"generic.armor_toughness\",Name:\"generic.armor_toughness\",Amount:1.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"feet\"},{AttributeName:\"generic.movement_speed\",Name:\"generic.movement_speed\",Amount:+0.5,Operation:1,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"feet\"}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Eagle Exo-Shield\",\"color\":\"brown\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:shield\",Count:1b,tag:{display:{Name:'{\"text\":\"Eagle Exo-Shield\",\"color\":\"brown\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:mending\",lvl:1},{id:\"minecraft:resistance\",lvl:2}]}}}",commandSender="VIU")


/EAGLE EXO TOOLS 
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Eagle Exo-Pickaxe\",\"color\":\"brown\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:netherite_pickaxe\",Count:1b,tag:{display:{Name:'{\"text\":\"Eagle Exo-Pickaxe\",\"color\":\"brown\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:efficiency\",lvl:5},{id:\"minecraft:fortune\",lvl:3},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:mending\",lvl:1}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Eagle Exo-Axe\",\"color\":\"brown\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:netherite_axe\",Count:1b,tag:{display:{Name:'{\"text\":\"Eagle Exo-Axe\",\"color\":\"brown\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:efficiency\",lvl:5},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:fortune\",lvl:3},{id:\"minecraft:looting\",lvl:3}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Eagle Exo-Shovel\",\"color\":\"brown\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:netherite_shovel\",Count:1b,tag:{display:{Name:'{\"text\":\"Eagle Exo-Shovel\",\"color\":\"brown\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:efficiency\",lvl:5},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:fortune\",lvl:3}]}}}",commandSender="VIU")

/EAGLE EXO WEAPONS
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Eagle Exo-Sword\",\"color\":\"brown\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:netherite_sword\",Count:1b,tag:{display:{Name:'{\"text\":\"Eagle Exo-Sword\",\"color\":\"brown\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:sharpness\",lvl:5},{id:\"minecraft:looting\",lvl:3},{id:\"minecraft:fire_aspect\",lvl:2},{id:\"minecraft:unbreaking\",lvl:3}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Eagle Exo-Bow\",\"color\":\"brown\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:bow\",Count:1b,tag:{display:{Name:'{\"text\":\"Eagle Exo-Bow\",\"color\":\"brown\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:power\",lvl:5},{id:\"minecraft:infinity\",lvl:1},{id:\"minecraft:flame\",lvl:1},{id:\"minecraft:looting\",lvl:3}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Eagle Exo Combat Axe\",\"color\":\"brown\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:netherite_axe\",Count:1b,tag:{display:{Name:'{\"text\":\"Eagle Exo Combat Axe\",\"color\":\"brown\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:sharpness\",lvl:5},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:looting\",lvl:3},{id:\"minecraft:fire_aspect\",lvl:2},{id:\"minecraft:mending\",lvl:1}]}}}",commandSender="VIU")


/MOLTEN ARMOR
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Molten Guardian Helm\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:diamond_helmet\",Count:1b,tag:{display:{Name:'{\"text\":\"Molten Guardian Helm\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:blast_protection\",lvl:5},{id:\"minecraft:fire_protection\",lvl:4},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:respiration\",lvl:3}],AttributeModifiers:[{AttributeName:\"generic.knockback_resistance\",Name:\"generic.knockback_resistance\",Amount:0.05,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"head\"},{AttributeName:\"generic.armor\",Name:\"generic.armor\",Amount:3.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"head\"},{AttributeName:\"generic.armor_toughness\",Name:\"generic.armor_toughness\",Amount:1.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"head\"}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Molten Guardian Chestplate\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:diamond_chestplate\",Count:1b,tag:{display:{Name:'{\"text\":\"Molten Guardian Chestplate\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:blast_protection\",lvl:5},{id:\"minecraft:fire_protection\",lvl:4},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:thorns\",lvl:2}],AttributeModifiers:[{AttributeName:\"generic.knockback_resistance\",Name:\"generic.knockback_resistance\",Amount:0.05,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"chest\"},{AttributeName:\"generic.armor\",Name:\"generic.armor\",Amount:8.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"chest\"},{AttributeName:\"generic.armor_toughness\",Name:\"generic.armor_toughness\",Amount:1.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"chest\"}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Molten Guardian Greaves\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:diamond_leggings\",Count:1b,tag:{display:{Name:'{\"text\":\"Molten Guardian Greaves\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:blast_protection\",lvl:5},{id:\"minecraft:fire_protection\",lvl:4},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:projectile_protection\",lvl:3}],AttributeModifiers:[{AttributeName:\"generic.knockback_resistance\",Name:\"generic.knockback_resistance\",Amount:0.05,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"legs\"},{AttributeName:\"generic.armor\",Name:\"generic.armor\",Amount:6.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"legs\"},{AttributeName:\"generic.armor_toughness\",Name:\"generic.armor_toughness\",Amount:1.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"legs\"}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Molten Guardian Boots\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:diamond_boots\",Count:1b,tag:{display:{Name:'{\"text\":\"Molten Guardian Boots\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:blast_protection\",lvl:5},{id:\"minecraft:fire_protection\",lvl:4},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:soul_speed\",lvl:2}],AttributeModifiers:[{AttributeName:\"generic.knockback_resistance\",Name:\"generic.knockback_resistance\",Amount:0.05,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"feet\"},{AttributeName:\"generic.armor\",Name:\"generic.armor\",Amount:3.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"feet\"},{AttributeName:\"generic.armor_toughness\",Name:\"generic.armor_toughness\",Amount:1.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"feet\"}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Molten Shield\",\"color\":\"red\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:shield\",Count:1b,tag:{display:{Name:'{\"text\":\"Molten Shield\",\"color\":\"red\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:mending\",lvl:1},{id:\"minecraft:fire_aspect\",lvl:1}]}}}",commandSender="VIU")

/MOLTEN TOOLS
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Molten Pickaxe\",\"color\":\"red\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:netherite_pickaxe\",Count:1b,tag:{display:{Name:'{\"text\":\"Molten Pickaxe\",\"color\":\"red\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:efficiency\",lvl:5},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:fortune\",lvl:3},{id:\"minecraft:mending\",lvl:1}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Molten Shovel\",\"color\":\"red\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:netherite_shovel\",Count:1b,tag:{display:{Name:'{\"text\":\"Molten Shovel\",\"color\":\"red\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:efficiency\",lvl:5},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:fire_aspect\",lvl:1},{id:\"minecraft:mending\",lvl:1}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Molten Farming Axe\",\"color\":\"red\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:netherite_axe\",Count:1b,tag:{display:{Name:'{\"text\":\"Molten Farming Axe\",\"color\":\"red\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:efficiency\",lvl:5},{id:\"minecraft:fortune\",lvl:2},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:mending\",lvl:1}]}}}",commandSender="VIU")

/MOLTEN WEAPONS
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Molten Sword\",\"color\":\"red\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:netherite_sword\",Count:1b,tag:{display:{Name:'{\"text\":\"Molten Sword\",\"color\":\"red\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:sharpness\",lvl:5},{id:\"minecraft:fire_aspect\",lvl:2},{id:\"minecraft:looting\",lvl:2},{id:\"minecraft:unbreaking\",lvl:3}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Molten Bow\",\"color\":\"red\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:bow\",Count:1b,tag:{display:{Name:'{\"text\":\"Molten Bow\",\"color\":\"red\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:power\",lvl:5},{id:\"minecraft:flame\",lvl:1},{id:\"minecraft:unbreaking\",lvl:3}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Molten Battle Axe\",\"color\":\"red\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:netherite_axe\",Count:1b,tag:{display:{Name:'{\"text\":\"Molten Battle Axe\",\"color\":\"red\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:sharpness\",lvl:5},{id:\"minecraft:fire_aspect\",lvl:2},{id:\"minecraft:looting\",lvl:2},{id:\"minecraft:unbreaking\",lvl:3}]}}}",commandSender="VIU")


/FORTUNE BLESSING ARMOR
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Fortune's Blessing Helm\",\"color\":\"yellow\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:netherite_helmet\",Count:1b,tag:{display:{Name:'{\"text\":\"Fortune's Blessing Helm\",\"color\":\"yellow\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:luck\",lvl:2},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:mending\",lvl:1}],AttributeModifiers:[{AttributeName:\"generic.knockback_resistance\",Name:\"generic.knockback_resistance\",Amount:0.05,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"head\"},{AttributeName:\"generic.armor\",Name:\"generic.armor\",Amount:3.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"head\"},{AttributeName:\"generic.armor_toughness\",Name:\"generic.armor_toughness\",Amount:1.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"head\"}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Fortune's Blessing Chestplate\",\"color\":\"yellow\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:netherite_chestplate\",Count:1b,tag:{display:{Name:'{\"text\":\"Fortune's Blessing Chestplate\",\"color\":\"yellow\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:luck\",lvl:3},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:mending\",lvl:1}],AttributeModifiers:[{AttributeName:\"generic.knockback_resistance\",Name:\"generic.knockback_resistance\",Amount:0.05,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"chest\"},{AttributeName:\"generic.armor\",Name:\"generic.armor\",Amount:8.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"chest\"},{AttributeName:\"generic.armor_toughness\",Name:\"generic.armor_toughness\",Amount:1.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"chest\"}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Fortune's Blessing Greaves\",\"color\":\"yellow\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:netherite_leggings\",Count:1b,tag:{display:{Name:'{\"text\":\"Fortune's Blessing Greaves\",\"color\":\"yellow\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:luck\",lvl:3},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:mending\",lvl:1}],AttributeModifiers:[{AttributeName:\"generic.knockback_resistance\",Name:\"generic.knockback_resistance\",Amount:0.05,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"legs\"},{AttributeName:\"generic.armor\",Name:\"generic.armor\",Amount:6.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"legs\"},{AttributeName:\"generic.armor_toughness\",Name:\"generic.armor_toughness\",Amount:1.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"legs\"}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Fortune's Blessing Boots\",\"color\":\"yellow\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:netherite_boots\",Count:1b,tag:{display:{Name:'{\"text\":\"Fortune's Blessing Boots\",\"color\":\"yellow\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:luck\",lvl:2},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:mending\",lvl:1}],AttributeModifiers:[{AttributeName:\"generic.knockback_resistance\",Name:\"generic.knockback_resistance\",Amount:0.05,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"feet\"},{AttributeName:\"generic.armor\",Name:\"generic.armor\",Amount:3.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"feet\"},{AttributeName:\"generic.armor_toughness\",Name:\"generic.armor_toughness\",Amount:1.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"feet\"}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Fortune Shield\",\"color\":\"gold\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:shield\",Count:1b,tag:{display:{Name:'{\"text\":\"Fortune Shield\",\"color\":\"gold\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:mending\",lvl:1},{id:\"minecraft:protection\",lvl:4}]}}}",commandSender="VIU")

/FORTUNE BLESSING TOOLS
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Fortune Pickaxe\",\"color\":\"gold\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:diamond_pickaxe\",Count:1b,tag:{display:{Name:'{\"text\":\"Fortune Pickaxe\",\"color\":\"gold\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:fortune\",lvl:3},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:mending\",lvl:1}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Fortune Shovel\",\"color\":\"gold\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:diamond_shovel\",Count:1b,tag:{display:{Name:'{\"text\":\"Fortune Shovel\",\"color\":\"gold\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:mending\",lvl:1},{id:\"minecraft:efficiency\",lvl:5}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Fortune Farming Axe\",\"color\":\"gold\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:diamond_axe\",Count:1b,tag:{display:{Name:'{\"text\":\"Fortune Farming Axe\",\"color\":\"gold\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:fortune\",lvl:3},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:mending\",lvl:1}]}}}",commandSender="VIU")

/FORTUNE BLESSINGS WEAPONS
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Fortune Sword\",\"color\":\"gold\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:diamond_sword\",Count:1b,tag:{display:{Name:'{\"text\":\"Fortune Sword\",\"color\":\"gold\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:sharpness\",lvl:5},{id:\"minecraft:looting\",lvl:3},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:mending\",lvl:1}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Combat Axe\",\"color\":\"gold\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:diamond_axe\",Count:1b,tag:{display:{Name:'{\"text\":\"Combat Axe\",\"color\":\"gold\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:sharpness\",lvl:5},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:mending\",lvl:1}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Fortune Bow\",\"color\":\"gold\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:bow\",Count:1b,tag:{display:{Name:'{\"text\":\"Fortune Bow\",\"color\":\"gold\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:power\",lvl:5},{id:\"minecraft:infinity\",lvl:1},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:mending\",lvl:1}]}}}",commandSender="VIU")


/Nightmare Embrassed Armor
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Nightmare's Embrace Helm\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:netherite_helmet\",Count:1b,tag:{display:{Name:'{\"text\":\"Nightmare's Embrace Helm\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:curse_of_binding\",lvl:1},{id:\"minecraft:protection\",lvl:5},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:thorns\",lvl:2}],AttributeModifiers:[{AttributeName:\"generic.knockback_resistance\",Name:\"generic.knockback_resistance\",Amount:0.1,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"head\"},{AttributeName:\"generic.armor\",Name:\"generic.armor\",Amount:3.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"head\"},{AttributeName:\"generic.armor_toughness\",Name:\"generic.armor_toughness\",Amount:2.0,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"head\"}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Nightmare's Embrace Chestplate\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:netherite_chestplate\",Count:1b,tag:{display:{Name:'{\"text\":\"Nightmare's Embrace Chestplate\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:curse_of_binding\",lvl:1},{id:\"minecraft:protection\",lvl:5},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:thorns\",lvl:2},{id:\"minecraft:blindness\",lvl:1}],AttributeModifiers:[{AttributeName:\"generic.knockback_resistance\",Name:\"generic.knockback_resistance\",Amount:0.1,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"chest\"},{AttributeName:\"generic.armor\",Name:\"generic.armor\",Amount:8.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"chest\"},{AttributeName:\"generic.armor_toughness\",Name:\"generic.armor_toughness\",Amount:2.0,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"chest\"}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Nightmare's Embrace Greaves\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:netherite_leggings\",Count:1b,tag:{display:{Name:'{\"text\":\"Nightmare's Embrace Greaves\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:curse_of_binding\",lvl:1},{id:\"minecraft:protection\",lvl:5},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:thorns\",lvl:2}],AttributeModifiers:[{AttributeName:\"generic.knockback_resistance\",Name:\"generic.knockback_resistance\",Amount:0.1,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"legs\"},{AttributeName:\"generic.armor\",Name:\"generic.armor\",Amount:6.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"legs\"},{AttributeName:\"generic.armor_toughness\",Name:\"generic.armor_toughness\",Amount:2.0,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"legs\"}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Nightmare's Embrace Boots\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:netherite_boots\",Count:1b,tag:{display:{Name:'{\"text\":\"Nightmare's Embrace Boots\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:curse_of_binding\",lvl:1},{id:\"minecraft:protection\",lvl:5},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:thorns\",lvl:2}],AttributeModifiers:[{AttributeName:\"generic.knockback_resistance\",Name:\"generic.knockback_resistance\",Amount:0.1,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"feet\"},{AttributeName:\"generic.armor\",Name:\"generic.armor\",Amount:3.5,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"feet\"},{AttributeName:\"generic.armor_toughness\",Name:\"generic.armor_toughness\",Amount:2.0,Operation:0,UUID:[I;#rand(20,999999999),#rand(20,999999999),#rand(20,999999999),#rand(20,999999999)],Slot:\"feet\"}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Nightmare Shield\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:shield\",Count:1b,tag:{display:{Name:'{\"text\":\"Nightmare Shield\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:mending\",lvl:1},{id:\"minecraft:fire_protection\",lvl:4},{id:\"minecraft:curse_of_vanishing\",lvl:1}]}}}",commandSender="VIU")


/NIGHTMARE EMBRASSED TOOLS
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Nightmare Pickaxe\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:diamond_pickaxe\",Count:1b,tag:{display:{Name:'{\"text\":\"Nightmare Pickaxe\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:efficiency\",lvl:5},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:mending\",lvl:1},{id:\"minecraft:curse_of_vanishing\",lvl:1}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Nightmare Shovel\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:diamond_shovel\",Count:1b,tag:{display:{Name:'{\"text\":\"Nightmare Shovel\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:efficiency\",lvl:5},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:mending\",lvl:1},{id:\"minecraft:curse_of_vanishing\",lvl:1}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Nightmare Farming Axe\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:diamond_axe\",Count:1b,tag:{display:{Name:'{\"text\":\"Nightmare Farming Axe\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:fortune\",lvl:3},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:mending\",lvl:1},{id:\"minecraft:curse_of_vanishing\",lvl:1}]}}}",commandSender="VIU")

/NIGHTMARE EMBRASSED WEAPONS 
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Nightmare Sword\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:diamond_sword\",Count:1b,tag:{display:{Name:'{\"text\":\"Nightmare Sword\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:sharpness\",lvl:5},{id:\"minecraft:looting\",lvl:3},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:mending\",lvl:1},{id:\"minecraft:curse_of_binding\",lvl:1}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Nightmare Combat Axe\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:diamond_axe\",Count:1b,tag:{display:{Name:'{\"text\":\"Nightmare Combat Axe\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:sharpness\",lvl:5},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:mending\",lvl:1},{id:\"minecraft:curse_of_vanishing\",lvl:1}]}}}",commandSender="VIU")
group(
    type=command, ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Nightmare Bow\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:bow\",Count:1b,tag:{display:{Name:'{\"text\":\"Nightmare Bow\",\"color\":\"dark_red\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:power\",lvl:5},{id:\"minecraft:infinity\",lvl:1},{id:\"minecraft:unbreaking\",lvl:3},{id:\"minecraft:mending\",lvl:1},{id:\"minecraft:curse_of_binding\",lvl:1}]}}}",commandSender="VIU")
